trigger: none
pr: none

variables:
  - template: /eng/pipelines/common/variables.yml

extends:
  template:  /eng/pipelines/common/templates/pipeline-with-resources.yml
  parameters:
    stages:
    - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
      - stage: EvaluatePaths
        displayName: Evaluate Paths
        jobs:
          - template: /eng/pipelines/common/evaluate-default-paths.yml

    - stage: Build
      jobs:
      - template: /eng/pipelines/extra-platforms/runtime-extra-platforms-wasm.yml
        parameters:
          isExtraPlatformsBuild: ${{ variables.isExtraPlatformsBuild }}
          isWasmOnlyBuild: ${{ variables.isWasmOnlyBuild }}
          isRollingBuild: ${{ variables.isRollingBuild }}
          debuggerTestsOnly: true
